/**
 * 
 */
package com.ychs.corejava.lesson04;


/**
 * 地址类
 * @author hanyaru
 * @version 1.0
 */
public class Address {
    private String homeAddr = "太原";
    private String schoolAddr = "大连";
    private String workAddr = "成都";
    
    public Address() { }
	public Address(String haString ,String sa, String wa) {
		homeAddr = haString;
		schoolAddr = sa;
		workAddr = wa;
	}
	/**
	 * @return the homeAddr
	 */
	public String getHomeAddr() {
		return homeAddr;
	}
	/**
	 * @param homeAddr the homeAddr to set
	 */
	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}
	/**
	 * @return the schoolAddr
	 */
	public String getSchoolAddr() {
		return schoolAddr;
	}
	/**
	 * @param schoolAddr the schoolAddr to set
	 */
	public void setSchoolAddr(String schoolAddr) {
		this.schoolAddr = schoolAddr;
	}
	/**
	 * @return the workAddr
	 */
	public String getWorkAddr() {
		return workAddr;
	}
	/**
	 * @param workAddr the workAddr to set
	 */
	public void setWorkAddr(String workAddr) {
		this.workAddr = workAddr;
	}
	public static void main(String[] args) {
		int salary = 5000;
		Address address = null;
		address = new Address();

	}
    
	
}
